package com.ruoyi.loginfo.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 物流公司对象 log_company
 * 
 * @author ruoyi
 * @date 2023-10-15
 */
public class LogCompany extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 物流公司ID */
    private Long companyId;

    /** 物流公司名称 */
    @Excel(name = "物流公司名称")
    private String companyName;

    /** 联系人 */
    @Excel(name = "联系人")
    private String contactPerson;

    /** 公司地址 */
    @Excel(name = "公司地址")
    private String address;

    /** 公司经度 */
    @Excel(name = "公司经度")
    private Double longitude;

    /** 公司维度 */
    @Excel(name = "公司维度")
    private Double latitude;

    public void setCompanyId(Long companyId) 
    {
        this.companyId = companyId;
    }

    public Long getCompanyId() 
    {
        return companyId;
    }
    public void setCompanyName(String companyName) 
    {
        this.companyName = companyName;
    }

    public String getCompanyName() 
    {
        return companyName;
    }
    public void setContactPerson(String contactPerson) 
    {
        this.contactPerson = contactPerson;
    }

    public String getContactPerson() 
    {
        return contactPerson;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setLongitude(Double longitude) 
    {
        this.longitude = longitude;
    }

    public Double getLongitude() 
    {
        return longitude;
    }
    public void setLatitude(Double latitude) 
    {
        this.latitude = latitude;
    }

    public Double getLatitude() 
    {
        return latitude;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("companyId", getCompanyId())
            .append("companyName", getCompanyName())
            .append("contactPerson", getContactPerson())
            .append("address", getAddress())
            .append("longitude", getLongitude())
            .append("latitude", getLatitude())
            .toString();
    }
}
